package cn.wolfcode.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author liuquan
 * @program: springboot
 * @description: 配置类, 代替xml配置bean的类
 * @date 2021-02-08 11:34:36
 */
@Controller
public class IndexController {
    @RequestMapping("/index")
    @ResponseBody
    public String  index(){
        return  "hello spring boot";
    }

}
